package controllers

import (
	"fs_oms/models"
	"github.com/astaxie/beego"
)

type QueryCDRController struct {
	beego.Controller
}

func (c *QueryCDRController) Get() {
	cdrs := models.GetAllCDR()
	c.Data["cdrs"] = cdrs
	c.TplName = "querycdr.tpl"
}
